﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BonjourHotel.Core.Utils;

namespace BonjourHotel.Application.Configuration.Hotels
{
    public partial class Create_Hotel : System.Web.UI.Page
    {
        protected void Page_Init(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (CoreUtils.QueryStringInt("idHotel", 0) == 0)
                    menuHotel.Mode = BonjourHotel.Core.Menu.MenuMode.Create;
                else
                    menuHotel.Mode = BonjourHotel.Core.Menu.MenuMode.Update;
            }
     
        }

        protected void Page_Load(object sender, EventArgs e)
        {
        }
    }
}
